﻿<%@ Page Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="IngresoDeProductoEdit.aspx.cs" Inherits="WebAppPlanProduccion.App.IngresoDeProductoEdit" %>

<asp:Content ID="HeaderContent" ContentPlaceHolderID="HeadContent" runat="server">
    <link href="/Styles/GridStyle.css" rel="stylesheet" type="text/css" />    
    <link href="/Styles/jquery-ui-1.8.10.custom.css" rel="stylesheet" type="text/css" />
    <script src="/Scripts/DirtyCheck.js" type="text/javascript"></script>
    <script src="/Scripts/jquery-1.4.4.min.js" type="text/javascript"></script>
    <script src="/Scripts/ajaxupload.js" type="text/javascript"></script>
    <script src="/Scripts/jquery-ui-1.8.10.custom.min.js" type="text/javascript"></script>
    <script src="/Scripts/jquery.datepick.js" type="text/javascript"></script>
    <script src="/Scripts/jquery.datepick-es-AR.js" type="text/javascript"></script>
    <link href="/Styles/jquery.datepick.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        $(function () {
            $('#txtFechaEntrega').datepick({ dateFormat: 'dd/mm/yyyy' });            
        });
    </script>
</asp:Content>
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Detalle de Ingreso
    </h2>
    <div class="editionContainerFilter">
        <p>
            <span class="title2">Id:</span>
            <asp:TextBox ID="txtIngresoId" runat="server" CssClass="inputs readonly" ReadOnly="true"></asp:TextBox>
            <span style="visibility:hidden">*</span>
        </p>
        <p>
            <span class="title2 secondColumn">Usuario Creador:</span>
            <asp:TextBox ID="txtAuditUserNameCreacion" runat="server" CssClass="inputs readonly" ReadOnly="true"></asp:TextBox>
        </p>        
        <div class="clear">
        </div>        
        <p>
            <span class="title2">Proveedor:</span>
           <asp:DropDownList ID="cboProveedor" runat="server" CssClass="cbo">             
            </asp:DropDownList>
            <span style="visibility:hidden">*</span>
        </p>
         <p>
            <span class="title2 secondColumn">Fecha Creaci&oacute;n:</span>
            <asp:TextBox ID="txtAuditFechaCreacion" runat="server" CssClass="inputs readonly" ReadOnly="true"></asp:TextBox>
        </p>
        <div class="clear">
        </div>
        <p>
            <span class="title2">Temporada:</span>
             <asp:DropDownList ID="cboTemporada" runat="server" CssClass="cbo"  CausesValidation="false"
                AutoPostBack="True" onselectedindexchanged="cboTemporada_SelectedIndexChanged">             
            </asp:DropDownList>
            <span style="visibility:hidden">*</span>
        </p>       
         <p>
            <span class="title2 secondColumn">Usuario Modificador:</span>
            <asp:TextBox ID="txtAuditUserNameModificacion" runat="server" CssClass="inputs readonly" ReadOnly="true"></asp:TextBox>
        </p>
        <div class="clear">
        </div>
        <p>
            <span class="title2">Producto:</span>
            <asp:DropDownList ID="cboProducto" runat="server" CssClass="cbo">             
            </asp:DropDownList>
            <span style="visibility:hidden">*</span>
        </p>
         <p>
            <span class="title2 secondColumn">Fecha Modificaci&oacute;n:</span>
            <asp:TextBox ID="txtAuditFechaModificacion" runat="server" CssClass="inputs readonly" ReadOnly="true"></asp:TextBox>
        </p>
        <div class="clear">
        </div>
         <p>
            <span class="title2">Fecha de Entrega:</span>
            <asp:TextBox ID="txtFechaEntrega" runat="server" CssClass="inputs" ClientIDMode="Static"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" ControlToValidate="txtFechaEntrega"
                runat="server" ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>
        </p>
        <p>
            <span class="title2 secondColumn">Cantidad:</span>
             <asp:TextBox ID="txtCantidad" runat="server" CssClass="inputs" ClientIDMode="Static"></asp:TextBox>
             <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="txtCantidad"
                runat="server" ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>
        </p>
        <div class="clear">
        </div>    
         <p>
            <span class="title2">Destino:</span>
             <asp:DropDownList ID="cboDestino" runat="server" CssClass="cbo" >             
            </asp:DropDownList>
            <span style="visibility:hidden">*</span>
        </p>     
        <%-- <p>
            <span class="title2 secondColumn">Temporada:</span>
              <asp:DropDownList ID="cboTemporada" runat="server" CssClass="cbo" ClientIDMode="Static">
            </asp:DropDownList>         
        </p>--%>
         <div class="clear">
        </div>   
        <p>
            <span class="title2">Remito Letra:</span>
            <asp:TextBox ID="txtRemitoLetra" runat="server" CssClass="inputs" ClientIDMode="Static"></asp:TextBox>          
        </p>
        <p>
            <span class="title2 secondColumn">Remito Sucursal:</span>
             <asp:TextBox ID="txtRemitoSucursal" runat="server" CssClass="inputs" ClientIDMode="Static"></asp:TextBox>           
        </p>
        <div class="clear">
        </div>    
        <p>
            <span class="title2">Remito Número:</span>
            <asp:TextBox ID="txtRemitoNumro" runat="server" CssClass="inputs" ClientIDMode="Static"></asp:TextBox>          
        </p>       
        <div class="clear">
        </div>    
    </div>
    <br />
    <div class="buttons">
        <asp:LinkButton ID="lnkGuardar" runat="server" CssClass="guardar" OnClick="lnkGuardar_Click">Guardar</asp:LinkButton>
        <asp:LinkButton ID="lnkCancelar" runat="server" ClientIDMode="Static" CssClass="agregarNuevo"  onclick="lnkCancelar_Click" CausesValidation="false" >Cancelar</asp:LinkButton>  
    </div>

    <script type='text/javascript'>

        $(document).ready(function () {

            if (!window.AppCommonObj) {
                window.AppCommonObj = new AppCommon();
            }

            document.DirtyCheck = new DirtyCheck();
            document.DirtyCheck.loadControlState();

            AppCommonObj.ConfirmMovePage();             
        });
    </script>

</asp:Content>
